<?php


namespace app\admin\model\shop;


use app\common\model\TimeModel;
use app\common\constants\MenuConstant;
class GoodsValue extends TimeModel
{
    protected $name = 'goods_value';
    public function getProductValue($products_id){
       
        $data=$this->where('products_id',$products_id)->column('price,activity_price');
        return $data;
    }
    public function onAfterDelete($data){
       if($data['image']){
            // del_image($data['image']);
       }
        
    }
}